<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        * {
            padding: 0;
            margin: 0;
            list-style: none;
        }
        body {
            padding-top: 30px;
        }
        a {
            text-decoration: none;
        }
        .title-container {
            height: 34px;
            width: 1080px;
            /* border: 1px solid red; */
            margin: 0 auto 25px;
        }
            .title-container .title-logo {
            width: 160px;
            height: 34px;
            /* border: 1px solid red; */
            float: left;
            background-image: url("./images/豆瓣 logo.png");
            background-repeat: no-repeat;
            background-position: 0 2px;
        }

        .title-container .title-search {
            width: 270px;
            height: 30px;
            border: 1px solid #999;
            float: left;
            margin-left: 20px;
            overflow: hidden;
            position: relative;
        }

        .title-container .title-search>input {
            border: none;
            outline: none;
            height: 30px;
            width: 235px;
            float: left;
            padding-left: 5px;
            /* border: 1px solid red; */
            font-size: 13px;
            height: 20px;
            padding: 5px;
        }

        .title-container .title-search span input {
            width: 20px;
            height: 20px;
            /* border: solid red 1px; */
            float: left;
            cursor: pointer;
            background-image: url("./images/放大镜搜索.png");
            background-repeat: no-repeat;
            border: none;
            outline: none;
            background-position: 7px 4px;
            position: absolute;
            right: 10px;
            top: 5px;
        }

        .title-container .choice {
            width: 516px;
            height: 21px;
            /* border: 1px solid red; */
            float: right;
            margin-top: calc((34px - 21px) / 2);
        }

        .title-container .choice ul li {
            /* border: solid 1px red; */
            width: 40px;
            height: 20px;
            float: left;
            margin-right: 14px;
            background-image: url("./images/标题选择.png");
            background-repeat: no-repeat;
        }
    </style>
</head>
<body>
    <div class="title-container">
        <div>
            <a href=""><div class="title-logo"></div></a>
        </div>
        <div class="title-search">
            <input type="text" placeholder="书籍、电影、音乐、小组、小站、成员">
            <span><input type="subbmit"></span>
        </div>
        <div class="choice">
            <ul>
                <li style="background-position: 0 0" ;></li>
                <li style="background-position: -60px 0;"></li>
                <li style="background-position: -121px 0;"></li>
                <li style="background-position: -300px 0;"></li>
                <li style="background-position: -180px 0;"></li>
                <li style="background-image: url('./images/阅读.png'); background-position:0 0; background-size: contain;">
                </li>
                <li style="background-position: -241px 0;"></li>
                <li style="background-image: url('./images/时间.png'); background-position: 0px -2px; background-size: 42px;
                background-size: 42px;"></li>
                <li style="background-position: -423px 0;"></li>
            </ul>
        </div>
    </div>
</body>
</html>